package com.org.entity.sys;

import com.org.entity.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

@Data
@Table(name = "SYS_USER_MENU_FAVORITES")
public class SysUserMenuFavorites extends BaseEntity {

    /**
     * 用户id
     */
    @Column(name = "FK_USER_ID")
    private String fkUserId;

    /**
     * 菜单id
     */
    @Column(name = "FK_MENU_ID")
    private String fkMenuId;

    /**
     * 排序
     */
    @Column(name = "SORT")
    private int sort;

    /**
     * 显示所属系统
     */
    @Column(name = "FK_SYSTEM")
    private String fkSystem;

    /**
     * 菜单所属系统
     */
    @Transient
    private String fkSystemCode;

    /**
     * icon
     */
    @Transient
    private String fkIcon;

    /**
     * 菜单名
     */
    @Transient
    private String fkMenuName;

    /**
     * 菜单url
     */
    @Transient
    private String fkMenuUrl;

}
